package foodmaterial.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import foodmaterial.utils.Constants;

import java.io.Serializable;
import java.util.Date;

public class PurchaseBillTrack implements Serializable {
    private static final long serialVersionUID = -6519678017646175034L;

    private Long id	;
    private Long purchaseBillId ;
    private Long updatePerson ;
    private String updatePersonName;
    @JsonFormat(pattern= Constants.DEFAULT_DATE_TIME_FORMAT,timezone="GMT+8")
    private Date updateTime ;
    private String content ;
    private String[] showContent ;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPurchaseBillId() {
        return purchaseBillId;
    }

    public void setPurchaseBillId(Long purchaseBillId) {
        this.purchaseBillId = purchaseBillId;
    }

    public Long getUpdatePerson() {
        return updatePerson;
    }

    public void setUpdatePerson(Long updatePerson) {
        this.updatePerson = updatePerson;
    }

    public String getUpdatePersonName() {
        return updatePersonName;
    }

    public void setUpdatePersonName(String updatePersonName) {
        this.updatePersonName = updatePersonName;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        showContent = content.split("；");
        this.content = content;
    }

    public String[] getShowContent() {
        return this.showContent ;
    }
}
